const Mock = require("mockjs");

module.exports = () =>
  Mock.mock({
    "list|100": [
      {
        id: "@id",
        "images|4-10": ["@image(180x150, @color)"],
        title: "@ctitle",
        word: "@cword(10, 20)",
        "price|10-10000": 1,
        "sell|10-1000000": 1,
        "maxCount|5-20": 1,
      },
    ],
  });
